<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php echo Fw::app()->i18n('login')?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="<?php echo Fw::app()->baseUrl?>/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo Fw::app()->baseUrl?>/css/bootstrap.min.css" rel="stylesheet">
    <script src="<?php echo Fw::app()->baseUrl?>/js/jquery-1.9.1.min.js"></script>
    <script src="<?php echo Fw::app()->baseUrl?>/js/bootstrap.js"></script>
    <script src="<?php echo Fw::app()->baseUrl?>/js/bootstrap-validation.min.js"></script>
    <style type="text/css">
      body {
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #f5f5f5;
      } 

      .form-signin {
        max-width: 300px;
        padding: 19px 29px 29px;
        margin: 0 auto 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
      }
      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }
      .form-signin input[type="text"],
      .form-signin input[type="password"] {
        font-size: 16px;
        height: auto;
        margin-bottom: 15px;
        padding: 7px 9px;
      }

      .control-group .controlsLeft{
		   margin-left:5px;
		  }
    </style>
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
  </head>

  <body>

  
    <div class="container">
      <form id = "form" class="form-signin form-horizontal" method="post" action="<?php echo Fw::app()->getUrl();?>?r=login/signin">
        <h2 class="form-signin-heading"><?php echo  Fw::app()->i18n('Please sign in')?></h2>
        <div class="control-group">
				<div class="controls controlsLeft">
					<input name="username" class="input-block-level" type="text" id="inputEmail" check-type="required" mail-message="登陆名不能为空" placeholder="User Name" >
				</div>
			</div>
			<div class="control-group">
				<div class="controls controlsLeft">
					<input  name ="password" type="password" class="input-block-level" id="inputPassword" check-type="required" required-message="密码不能为空！" placeholder="Password"  >
				</div>
			</div>
       
        <label class="checkbox">
          <input type="checkbox" value="remember-me"> <?php echo  Fw::app()->i18n('Remember me')?>
        </label>
        <input  class="btn btn-large btn-primary" type="submit"><?php echo Fw::app()->i18n('login')?></button>
      </form>
    <script type="text/javascript">
    	$('#form').validation();
    </script>
    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>
